package com.zhuangjie.event.service;

import org.springframework.data.redis.connection.Message;
import org.springframework.lang.Nullable;

public interface ModuleEventService  {

    void on(Message message, @Nullable byte[] pattern);

    void emit(Object eventData);
}
